--TEST--
Check for jsonschema  generate boolean
--SKIPIF--
<?php
if (!extension_loaded("jsonschema")) {
    print "skip";
}
?>
--FILE--
<?php
$value = true;
$jsonSchema = new JsonSchema(json_encode($value));

echo assert('{"type":"boolean","default":false}' == $jsonSchema->getSchema());
?>
--EXPECT--
1
